<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstWebRTCSessionDescription: GStreamer Bad Plugins 1.0 Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Library Reference Manual">
<link rel="up" href="webrtc.html" title="WebRTC Library">
<link rel="prev" href="GstWebRTCRTPSender.html" title="GstWebRTCRTPSender">
<link rel="next" href="GstWebRTCRTPTransceiver.html" title="GstWebRTCRTPTransceiver">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GstWebRTCSessionDescription.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GstWebRTCSessionDescription.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="webrtc.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GstWebRTCRTPSender.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GstWebRTCRTPTransceiver.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GstWebRTCSessionDescription"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GstWebRTCSessionDescription.top_of_page"></a>GstWebRTCSessionDescription</span></h2>
<p>GstWebRTCSessionDescription — RTCSessionDescription object</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GstWebRTCSessionDescription.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="returnvalue">GstWebRTCSessionDescription</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstWebRTCSessionDescription.html#gst-webrtc-session-description-new" title="gst_webrtc_session_description_new ()">gst_webrtc_session_description_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="returnvalue">GstWebRTCSessionDescription</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstWebRTCSessionDescription.html#gst-webrtc-session-description-copy" title="gst_webrtc_session_description_copy ()">gst_webrtc_session_description_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstWebRTCSessionDescription.html#gst-webrtc-session-description-free" title="gst_webrtc_session_description_free ()">gst_webrtc_session_description_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstWebRTCSessionDescription.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GstWebRTCSessionDescription.html#GstWebRTCSessionDescription-struct" title="GstWebRTCSessionDescription">GstWebRTCSessionDescription</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstWebRTCSessionDescription.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
    <span class="lineart">╰──</span> GstWebRTCSessionDescription
</pre>
</div>
<div class="refsect1">
<a name="GstWebRTCSessionDescription.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gst/codecparsers/gstmpeg4parser.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GstWebRTCSessionDescription.description"></a><h2>Description</h2>
<a class="ulink" href="https://www.w3.org/TR/webrtc/#rtcsessiondescription-class" target="_top">https://www.w3.org/TR/webrtc/#rtcsessiondescription-class</a>
</div>
<div class="refsect1">
<a name="GstWebRTCSessionDescription.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gst-webrtc-session-description-new"></a><h3>gst_webrtc_session_description_new ()</h3>
<pre class="programlisting"><a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="returnvalue">GstWebRTCSessionDescription</span></a> *
gst_webrtc_session_description_new (<em class="parameter"><code><span class="type">GstWebRTCSDPType</span> type</code></em>,
                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage"><span class="type">GstSDPMessage</span></a> *sdp</code></em>);</pre>
<div class="refsect3">
<a name="gst-webrtc-session-description-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <span class="type">GstWebRTCSDPType</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sdp</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage"><span class="type">GstSDPMessage</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-webrtc-session-description-new.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="type">GstWebRTCSessionDescription</span></a> from <em class="parameter"><code>type</code></em>
and <em class="parameter"><code>sdp</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-webrtc-session-description-copy"></a><h3>gst_webrtc_session_description_copy ()</h3>
<pre class="programlisting"><a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="returnvalue">GstWebRTCSessionDescription</span></a> *
gst_webrtc_session_description_copy (<em class="parameter"><code>const <a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="type">GstWebRTCSessionDescription</span></a> *src</code></em>);</pre>
<div class="refsect3">
<a name="gst-webrtc-session-description-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="type">GstWebRTCSessionDescription</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-webrtc-session-description-copy.returns"></a><h4>Returns</h4>
<p>a new copy of <em class="parameter"><code>src</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-webrtc-session-description-free"></a><h3>gst_webrtc_session_description_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_webrtc_session_description_free (<em class="parameter"><code><a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="type">GstWebRTCSessionDescription</span></a> *desc</code></em>);</pre>
<p>Free <em class="parameter"><code>desc</code></em>
 and all associated resources</p>
<div class="refsect3">
<a name="gst-webrtc-session-description-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>desc</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstWebRTCSessionDescription.html" title="GstWebRTCSessionDescription"><span class="type">GstWebRTCSessionDescription</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GstWebRTCSessionDescription.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GstWebRTCSessionDescription-struct"></a><h3>GstWebRTCSessionDescription</h3>
<pre class="programlisting">typedef struct {
  GstWebRTCSDPType       type;
  GstSDPMessage         *sdp;
} GstWebRTCSessionDescription;
</pre>
<p>See <a class="ulink" href="https://www.w3.org/TR/webrtc/#rtcsessiondescription-class" target="_top">https://www.w3.org/TR/webrtc/<span class="type">rtcsessiondescription-class</span></a></p>
<div class="refsect3">
<a name="GstWebRTCSessionDescription.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">GstWebRTCSDPType</span> <em class="structfield"><code><a name="GstWebRTCSessionDescription-struct.type"></a>type</code></em>;</p></td>
<td class="struct_member_description"><p>the <span class="type">GstWebRTCSDPType</span> of the description</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage"><span class="type">GstSDPMessage</span></a> *<em class="structfield"><code><a name="GstWebRTCSessionDescription-struct.sdp"></a>sdp</code></em>;</p></td>
<td class="struct_member_description"><p>the <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage"><span class="type">GstSDPMessage</span></a> of the description</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>